/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GUI.java
 *
 * Created on Oct 26, 2011, 5:13:07 AM
 */
package irsystem;

/**
 *
 * @author cas
 */
public class option extends javax.swing.JFrame {
    
    boolean stemming;
    boolean stopword;
    int tf;
    boolean idf;
    boolean normal;
    
    /** Creates new form GUI */
    public option() {
        initComponents();
        stem.add(StemYa);
        stem.add(StemTidak);
        stop.add(stopwordYa);
        stop.add(stopwordTidak);
        tfgrup.add(Aug);
        tfgrup.add(Log);
        tfgrup.add(Binary);
        tfgrup.add(Raw);
        idfgrup.add(idfYa);
        idfgrup.add(idfTidak);
        norm.add(NormalYa);
        norm.add(NormalTidak);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        stem = new javax.swing.ButtonGroup();
        stop = new javax.swing.ButtonGroup();
        tfgrup = new javax.swing.ButtonGroup();
        idfgrup = new javax.swing.ButtonGroup();
        norm = new javax.swing.ButtonGroup();
        judul = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        Stem = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        StemYa = new javax.swing.JRadioButton();
        StemTidak = new javax.swing.JRadioButton();
        Stopword = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        stopwordYa = new javax.swing.JRadioButton();
        stopwordTidak = new javax.swing.JRadioButton();
        jLabel1 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        TF = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        Raw = new javax.swing.JRadioButton();
        Binary = new javax.swing.JRadioButton();
        Log = new javax.swing.JRadioButton();
        Aug = new javax.swing.JRadioButton();
        jLabel6 = new javax.swing.JLabel();
        Normal = new javax.swing.JPanel();
        jLabel7 = new javax.swing.JLabel();
        NormalYa = new javax.swing.JRadioButton();
        NormalTidak = new javax.swing.JRadioButton();
        IDF = new javax.swing.JPanel();
        jLabel9 = new javax.swing.JLabel();
        idfYa = new javax.swing.JRadioButton();
        idfTidak = new javax.swing.JRadioButton();
        Pencarian = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setResizable(false);

        judul.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        judul.setText("not MAUL IR System");

        jPanel1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jLabel4.setText("Stemming");

        StemYa.setText("Memakai Stemming");
        StemYa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                StemYaActionPerformed(evt);
            }
        });

        StemTidak.setText("Tidak Memakai Stemming");
        StemTidak.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                StemTidakActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout StemLayout = new javax.swing.GroupLayout(Stem);
        Stem.setLayout(StemLayout);
        StemLayout.setHorizontalGroup(
            StemLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(StemLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel4)
                .addGap(18, 18, 18)
                .addGroup(StemLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(StemTidak)
                    .addComponent(StemYa))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        StemLayout.setVerticalGroup(
            StemLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(StemLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(StemLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(StemYa))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(StemTidak)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jLabel2.setText("Stopword");

        stopwordYa.setText("Memakai Stopword");
        stopwordYa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                stopwordYaActionPerformed(evt);
            }
        });

        stopwordTidak.setText("Tidak Memakai Stopword");
        stopwordTidak.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                stopwordTidakActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout StopwordLayout = new javax.swing.GroupLayout(Stopword);
        Stopword.setLayout(StopwordLayout);
        StopwordLayout.setHorizontalGroup(
            StopwordLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(StopwordLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel2)
                .addGap(18, 18, 18)
                .addGroup(StopwordLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(stopwordTidak)
                    .addComponent(stopwordYa))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        StopwordLayout.setVerticalGroup(
            StopwordLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(StopwordLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(StopwordLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(stopwordYa))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(stopwordTidak)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jLabel1.setText("Indexing");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel1)
                    .addComponent(Stem, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(Stopword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addGap(18, 18, 18)
                .addComponent(Stem, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(Stopword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(57, Short.MAX_VALUE))
        );

        jPanel2.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jLabel5.setText("TF");

        Raw.setText("Raw TF");
        Raw.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RawActionPerformed(evt);
            }
        });

        Binary.setText("Binary TF");
        Binary.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BinaryActionPerformed(evt);
            }
        });

        Log.setText("Logaritmik TF");
        Log.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                LogActionPerformed(evt);
            }
        });

        Aug.setText("Augmented TF");
        Aug.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                AugActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout TFLayout = new javax.swing.GroupLayout(TF);
        TF.setLayout(TFLayout);
        TFLayout.setHorizontalGroup(
            TFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(TFLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel5)
                .addGap(18, 18, 18)
                .addGroup(TFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(Binary)
                    .addComponent(Aug)
                    .addComponent(Log)
                    .addComponent(Raw))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        TFLayout.setVerticalGroup(
            TFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(TFLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(TFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(Raw))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Binary)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Log)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(Aug)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jLabel6.setText("Pembobotan Kata");

        jLabel7.setText("Normalisasi");

        NormalYa.setText("Mencari Normalisasi");
        NormalYa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                NormalYaActionPerformed(evt);
            }
        });

        NormalTidak.setText("Tidak Mencari Normalisasi");
        NormalTidak.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                NormalTidakActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout NormalLayout = new javax.swing.GroupLayout(Normal);
        Normal.setLayout(NormalLayout);
        NormalLayout.setHorizontalGroup(
            NormalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(NormalLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel7)
                .addGap(18, 18, 18)
                .addGroup(NormalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(NormalTidak)
                    .addComponent(NormalYa)))
        );
        NormalLayout.setVerticalGroup(
            NormalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(NormalLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(NormalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(NormalYa))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(NormalTidak)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jLabel9.setText("IDF");

        idfYa.setText("Mencari IDF");
        idfYa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                idfYaActionPerformed(evt);
            }
        });

        idfTidak.setText("Tidak Mencari IDF");
        idfTidak.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                idfTidakActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout IDFLayout = new javax.swing.GroupLayout(IDF);
        IDF.setLayout(IDFLayout);
        IDFLayout.setHorizontalGroup(
            IDFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(IDFLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel9)
                .addGap(18, 18, 18)
                .addGroup(IDFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(idfTidak)
                    .addComponent(idfYa)))
        );
        IDFLayout.setVerticalGroup(
            IDFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(IDFLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(IDFLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(idfYa))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(idfTidak)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(TF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(IDF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabel6)
                    .addComponent(Normal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel6)
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(TF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(IDF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Normal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(23, Short.MAX_VALUE))
        );

        Pencarian.setText("Pencarian");
        Pencarian.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                PencarianActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(529, Short.MAX_VALUE)
                .addComponent(Pencarian, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(judul)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(12, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(judul, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(20, 20, 20)
                .addComponent(Pencarian, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(21, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void StemYaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_StemYaActionPerformed
// TODO add your handling code here:
    stemming = true;
}//GEN-LAST:event_StemYaActionPerformed

private void StemTidakActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_StemTidakActionPerformed
// TODO add your handling code here:
    stemming = false;
}//GEN-LAST:event_StemTidakActionPerformed

private void stopwordYaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_stopwordYaActionPerformed
// TODO add your handling code here:
    stopword = true;
}//GEN-LAST:event_stopwordYaActionPerformed

private void stopwordTidakActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_stopwordTidakActionPerformed
// TODO add your handling code here:
    stopword = false;
}//GEN-LAST:event_stopwordTidakActionPerformed

private void RawActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_RawActionPerformed
// TODO add your handling code here:
    tf = 0;
}//GEN-LAST:event_RawActionPerformed

private void BinaryActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BinaryActionPerformed
// TODO add your handling code here:
    tf = 1;
}//GEN-LAST:event_BinaryActionPerformed

private void LogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LogActionPerformed
// TODO add your handling code here:
    tf = 2;
}//GEN-LAST:event_LogActionPerformed

private void AugActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AugActionPerformed
// TODO add your handling code here:
    tf = 3;
}//GEN-LAST:event_AugActionPerformed

private void idfYaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_idfYaActionPerformed
// TODO add your handling code here:
    idf = true;
}//GEN-LAST:event_idfYaActionPerformed

private void idfTidakActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_idfTidakActionPerformed
// TODO add your handling code here:
    idf = false;
}//GEN-LAST:event_idfTidakActionPerformed

private void NormalYaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_NormalYaActionPerformed
// TODO add your handling code here:
    normal = true;
}//GEN-LAST:event_NormalYaActionPerformed

private void NormalTidakActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_NormalTidakActionPerformed
// TODO add your handling code here:
    normal = false;
}//GEN-LAST:event_NormalTidakActionPerformed

private void PencarianActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_PencarianActionPerformed
// TODO add your handling code here:
    dispose();
    input newinput = new input(stemming, stopword,tf,idf,normal);
    newinput.setVisible(true);
}//GEN-LAST:event_PencarianActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(option.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(option.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(option.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(option.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new option().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JRadioButton Aug;
    private javax.swing.JRadioButton Binary;
    private javax.swing.JPanel IDF;
    private javax.swing.JRadioButton Log;
    private javax.swing.JPanel Normal;
    private javax.swing.JRadioButton NormalTidak;
    private javax.swing.JRadioButton NormalYa;
    private javax.swing.JButton Pencarian;
    private javax.swing.JRadioButton Raw;
    private javax.swing.JPanel Stem;
    private javax.swing.JRadioButton StemTidak;
    private javax.swing.JRadioButton StemYa;
    private javax.swing.JPanel Stopword;
    private javax.swing.JPanel TF;
    private javax.swing.JRadioButton idfTidak;
    private javax.swing.JRadioButton idfYa;
    private javax.swing.ButtonGroup idfgrup;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JLabel judul;
    private javax.swing.ButtonGroup norm;
    private javax.swing.ButtonGroup stem;
    private javax.swing.ButtonGroup stop;
    private javax.swing.JRadioButton stopwordTidak;
    private javax.swing.JRadioButton stopwordYa;
    private javax.swing.ButtonGroup tfgrup;
    // End of variables declaration//GEN-END:variables
}
